import request from '@/utils/request'

// 查询【请填写功能名称】列表
export function listGroup(query) {
  return request({
    url: '/system/group/list',
    method: 'get',
    params: query
  })
}

// 查询【请填写功能名称】详细
export function getGroup(systemProjectId) {
  return request({
    url: '/system/group/' + systemProjectId,
    method: 'get'
  })
}

export function addSystemProjectGroup(data) {
  return request({
    url: '/business/systemProject/group',
    method: 'post',
    data: data
  })
}

export function delSystemProjectGroup(data) {
  return request({
    url: '/business/systemProject/group',
    method: 'delete',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateGroup(data) {
  return request({
    url: '/system/group',
    method: 'put',
    data: data
  })
}


